package com.mayikt.observable;

import java.util.Observable;

public class MessageObservable extends Observable {

    @Override
    public void notifyObservers(Object arg) {

        //修改装填为可以群发
        setChanged();
        //2. 调用父类的方法实现群发
        super.notifyObservers(arg);
    }
}
